<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>04_BOM操作</title>
</head>
<body>
    <button onclick="alert('警告框')">弹出警告框</button>
    <button onclick="confirm('您确定删除吗？')">删除</button>
    <button onclick="prompt('请输入您的会员卡号:')">弹出输入框</button>

    <script>
        console.log(parseInt(6.7))
        console.log(parseInt(6.1))
        console.log(parseInt('12hhh'))
        console.log(parseInt('hhhj'))

        console.log(parseFloat('1'))
        console.log(parseFloat(22))
        console.log(parseFloat("0"))

        console.log(isNaN('aaa'))
        console.log(isNaN("a<b"))
        console.log(isNaN("1>2"))
        console.log(isNaN(1+"h"))
    </script>
</body>
</html>